import java.util.Vector;


public class member {
	
	// basic member info
	private String name;
	private int memberID;
	private long phone;
	private int age;
	private String gender;
	private String idType;
	private String id;
	private String currentState;
	private String startTime;
	
	public member(int initMemberID,String initName, long initPhone, int initAge,
			String initGender, String initIdType, String initId){
		memberID = initMemberID;
		name = initName;		
		phone = initPhone;
		age = initAge;
		gender = initGender;
		idType = initIdType;
		id = initId;	
		currentState = "offline";
		startTime = "";
	}
	
	public member(int initMemberID,String initName, long initPhone, int initAge,
			String initGender, String initIdType, String initId, String initState,String initStartTime){
		memberID = initMemberID;
		name = initName;		
		phone = initPhone;
		age = initAge;
		gender = initGender;
		idType = initIdType;
		id = initId;	
		currentState = initState;
		startTime = initStartTime;
	}
	public void setName(String initName) 				 {name = initName;}
	public void setMemberID(int initMemberID)			 {memberID = initMemberID;}
	public void setPhone(long initPhone)				 	 {phone = initPhone;}
	public void setAge(int initAge)					 	 {age = initAge;}
	public void setGender(String initGender)			 {gender = initGender;}
	public void setIdType(String initIdType)			 {idType = initIdType;}
	public void setId(String initId)						 {id = initId;}
	public void setCurrentState(String initCurrentState) {currentState = initCurrentState;}
	public void setStartTime(String initStartTime)		 {startTime = initStartTime;}
	
	public String getName() 				{return name;}
	public int 	getMemberID()				{return memberID;}
	public long getPhone()			 		{return phone;}
	public int getAge()						{return age;}
	public String getGender()			 	{return gender;}
	public String getIdType()			 	{return idType;}
	public String getId()						{return id ;}
	public String getCurrentState()		 	{return currentState;}
	public String getStartTime()		 	{return startTime;}
	
	public String toString(){
		String s = "";
		s+="Member Name: "+getName()+"\n";
		s+="Member ID: "+getMemberID()+"\n";
		s+="Current State: "+getCurrentState()+"\n";
		s+="Age: "+getAge()+"\n";
		s+="Gender: "+getGender()+"\n";
		s+="Phone: "+getPhone()+"\n";
		s+=getIdType()+": "+getId()+"\n";
		s+="Start Time: "+getStartTime()+"\n";
		return s;
	}
	
}
